﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title></title>
    <link rel="stylesheet" href="/lib/bootstrap/dist/css/bootstrap.css" />
    <link rel="stylesheet" href="/css/font-awesome.css" />
    <link rel="stylesheet" href="fonts/fontawesome-webfont.svg" />
    <link rel="stylesheet" href="fonts/fontawesome-webfont.svg" />

</head>
<body>
    <!--<div id="ajaxContainer"></div>-->
    <!--<button type="button" data-toggle="modal" data-target="#myModal" data-backdrop="false">Launch modal</button>-->
    <!--<div class="modal fade" id="myModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title" id="exampleModalLabel">New message</h5>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="modal-body">
                    <form>
                        <div class="form-group">
                            <label for="recipient-name" class="col-form-label">Recipient:</label>
                            <input type="text" class="form-control" id="recipient-name">
                        </div>
                        <div class="form-group">
                            <label for="message-text" class="col-form-label">Message:</label>
                            <textarea class="form-control" id="message-text"></textarea>
                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
                    <button type="button" class="btn btn-primary">Send message</button>
                </div>
            </div>
        </div>
    </div>
    <script>-->

        <!--//$(':submit').on('click', function () {
        //    event.preventDefault();
        //    var $form = $('form');

        //    if ($form.valid()) {
        //        $.ajax({
        //            url: "/",
        //            method: "post",
        //            data: $('form').serialize()
        //        })

        //    }
        //});

        //$.ajax({
        //    url: "/",
        //    success: function (data) {
        //        var $data = $(data);
        //        $('div#ajaxContainer').html($data);

        //        $data.find(':submit').on('click', function () {
        //            event.preventDefault();
        //            var $form = $('form');
        //            $.validator.unobtrusive.parse($form);
        //            if ($form.valid()) {
        //                $.ajax({
        //                    url: "/",
        //                    method: "post",
        //                    data: $('form').serialize()
        //                })

        //            }
        //        });
        //    },
        //    error: showAjaxError,
        //});
        //$('div#ajaxContainer').load("/", "id=23&name=dfg",
        //    function (a, b, jqXHR) {
        //        if (jqXHR.readyState == 1) {

        //        } else {

        //        }

        //    });




        //function showAjaxError(jqXHR, textStatus, errorThrown) {
        //    console.log(jqXHR.responseText);
        //    console.log(textStatus);
        //    console.log(errorThrown);
        //}
    </script>-->
</body>
</html>